﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.Design;
using TA.Turbo.Controls;

namespace TA.Turbo.Design
{
	public class GridColumnsEditor : CollectionEditor
	{
		public GridColumnsEditor()
			: base(typeof(List<BaseGridColumn>))
		{
		}
		protected override Type[] CreateNewItemTypes()
		{
			return new[] {
				typeof(ButtonColumn),
				typeof(CheckBoxColumn),
				typeof(HiddenColumn),
				typeof(ImageButtonColumn),
				typeof(LinkButtonColumn),
				typeof(TemplateColumn),
				typeof(TextBoxColumn),
			};
		}

	}
}
